package com.wanm.shardingjdbc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;

    private Long uid;

    private Long pid;

    public User(Long uid, Long pid) {
        this.uid = uid;
        this.pid = pid;
    }
}